package com.ts.api.module.channel.service.impl;

import com.ts.api.module.channel.dao.ChannelHistoryFormDao;
import com.ts.api.module.channel.entity.po.ChannelUserFormFieldPO;
import com.ts.api.module.channel.service.ChannelHistoryFormService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class ChannelHistoryFormServiceImpl implements ChannelHistoryFormService {

    @Autowired
    private ChannelHistoryFormDao historyFormFieldDao;

    @Override
    @Transactional(readOnly = true)
    public List<ChannelUserFormFieldPO> listUserFormField(Long userId) {
        return historyFormFieldDao.listUserFormField(userId);
    }

}
